package com.ruoyi.admin.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 医院信息对象 t_hospital
 * 
 * @author ruoyi
 * @date 2022-10-23
 */
public class Hospital extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long hospitalId;

    /** 省 */
    @Excel(name = "省")
    private String province;

    /** 市 */
    @Excel(name = "市")
    private String city;

    /** 区/县 */
    @Excel(name = "区/县")
    private String district;

    /** 对接人ID */
    @Excel(name = "对接人ID")
    private Long userId;

    /** 医院名称 */
    @Excel(name = "医院名称")
    private String hospitalName;

    /** 租金 */
    @Excel(name = "租金")
    private BigDecimal rent;

    /** 医院银行卡号 */
    @Excel(name = "医院银行卡号")
    private String cardNo;

    /** 收益% */
    @Excel(name = "收益%")
    private BigDecimal gainSharing;

    /** 股东id */
    @Excel(name = "股东id")
    private Long shareholderId;

    /** 一级分销商id */
    @Excel(name = "一级分销商id")
    private Long distributor1;

    /** 一级分销商id */
    @Excel(name = "一级分销商id")
    private Long distributor2;

    public void setHospitalId(Long hospitalId) 
    {
        this.hospitalId = hospitalId;
    }

    public Long getHospitalId() 
    {
        return hospitalId;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setDistrict(String district) 
    {
        this.district = district;
    }

    public String getDistrict() 
    {
        return district;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setHospitalName(String hospitalName) 
    {
        this.hospitalName = hospitalName;
    }

    public String getHospitalName() 
    {
        return hospitalName;
    }
    public void setRent(BigDecimal rent) 
    {
        this.rent = rent;
    }

    public BigDecimal getRent() 
    {
        return rent;
    }
    public void setCardNo(String cardNo) 
    {
        this.cardNo = cardNo;
    }

    public String getCardNo() 
    {
        return cardNo;
    }
    public void setGainSharing(BigDecimal gainSharing) 
    {
        this.gainSharing = gainSharing;
    }

    public BigDecimal getGainSharing() 
    {
        return gainSharing;
    }
    public void setShareholderId(Long shareholderId) 
    {
        this.shareholderId = shareholderId;
    }

    public Long getShareholderId() 
    {
        return shareholderId;
    }
    public void setDistributor1(Long distributor1) 
    {
        this.distributor1 = distributor1;
    }

    public Long getDistributor1() 
    {
        return distributor1;
    }
    public void setDistributor2(Long distributor2) 
    {
        this.distributor2 = distributor2;
    }

    public Long getDistributor2() 
    {
        return distributor2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("hospitalId", getHospitalId())
            .append("province", getProvince())
            .append("city", getCity())
            .append("district", getDistrict())
            .append("userId", getUserId())
            .append("hospitalName", getHospitalName())
            .append("rent", getRent())
            .append("cardNo", getCardNo())
            .append("gainSharing", getGainSharing())
            .append("createTime", getCreateTime())
            .append("shareholderId", getShareholderId())
            .append("distributor1", getDistributor1())
            .append("distributor2", getDistributor2())
            .toString();
    }
}
